package com.zlx.mall.biz.trolley.service;

import com.zlx.mall.biz.trolley.model.AddTrolleyRequest;
import com.zlx.mall.biz.trolley.model.TrolleyListResponse;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author xiatian
 * @Date 2025/3/23 星期日 18:17
 * @注释
 */
public interface ITrolleyService {
    void addTrolley(AddTrolleyRequest request);

    List<TrolleyListResponse> goodsList(Long userId);

    BigDecimal diffPrice(List<Long> goodsIds, Long userId);

    Boolean select(Long id, String option);
}
